]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
thunderbolt: fix missing variable underscore for `enrolling`
authorRyuzakiKK <aasonykk@gmail.com>
Fri, 7 Dec 2018 09:51:39 +0000 (10:51 +0100)
committerCarlos Garnacho <mrgarnacho@gmail.com>
Fri, 7 Dec 2018 11:19:57 +0000 (11:19 +0000)
The variable `this.enrolling` is a typo because it has not been defined
before and is also never used.
`this._enrolling` is what it was meant to be.

js/ui/status/thunderbolt.js

index 4584748eda7f4708728e8e92986183e4d2e53ad5..3d7a9614a72d49047a9a9c6c370ddbb7393e56ac 100644 (file)
@@ -195,7 +195,7 @@ var AuthRobot = new Lang.Class({
        if (this._enrolling)
            return;
 
-       this.enrolling = true;
+       this._enrolling = true;
        GLib.idle_add(GLib.PRIORITY_DEFAULT,
                      this._enrollDevicesIdle.bind(this));
     },